/**
 * Created by y50-70 on 2015/11/26.
 */
    //自定义paper,自动render model
joint.lmz.Paper = joint.dia.Paper.extend({
    initialize: function () {
        joint.dia.Paper.prototype.initialize.apply(this, arguments);

        $(this.svg).attr("tabindex", 1).attr("pointer-events", "all").attr('fill', '#fff').css({
            background: '#fff'
        });
    },
    renderView: function () {
        this.transformView();
        joint.dia.Paper.prototype.renderView.apply(this, arguments);
    },
    transformView: function () {
        console.log("transform this node-red'node to svg cell");
    },

});